#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H


#include <QPushButton>
#include <QString>
#include <QMessageBox>
#include <QPropertyAnimation>
#include <QMouseEvent>
#include <QDebug>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    

    MyPushButton(QString normoalImg, QString pressImg = "");

    QString normoalImgPath = "";
    QString pressImgPath = "";

    void zoom1();
    void zoom2();

    virtual void mousePressEvent(QMouseEvent *ev);   //按钮的鼠标按下事件
    virtual void mouseReleaseEvent(QMouseEvent *ev); //按钮的鼠标释放事件

signals:

};


#endif // MYPUSHBUTTON_H
